<%@ include  file="/other/Header.jsp" %> 
<%@ include file="/other/Date.jsp" %>
<jsp:directive.page import="java.util.Date"/>
<jsp:directive.page import="java.sql.*"/>
<jsp:directive.page import="Connectivity.ConnectionManager"/>
 <%
String status = request.getParameter("status")!=null?request.getParameter("status"):"BACK";
String name = request.getParameter("name")!=null?request.getParameter("name"):"null";
String branch = request.getParameter("branch")!=null?request.getParameter("branch"):"null";
String submit = request.getParameter("submit")!=null?request.getParameter("submit"):"null";
 Date d1=new Date();
String current_date=(d1.getDate()+"-"+(d1.getMonth()+1)+"-"+(d1.getYear()+1900));  
String current_year=""+(d1.getYear()+1900);

%>
   <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
   "http://www.w3.org/TR/html4/loose.dtd">

   <html>

      <head>
         <meta http-equiv="Content-Type" 
            content="text/html; charset=windows-1256">
         <title>  Employee Search </title>
      </head>
    <link rel="stylesheet" type="text/css" media="all" href="<%=basePath%>other/jsDatePick_ltr.min.css" />
    <script type="text/javascript" src="<%=basePath%>other/jsDatePick.min.1.3.js"></script>
    <script type="text/javascript" src="<%=basePath%>other/data.js"></script>
    <script type="text/javascript" src="<%=basePath%>images\jquery.js"></script>
    <script type="text/javascript" src="<%=basePath%>images\jquery.autocomplete.js"></script>
    <link rel="stylesheet" type="text/css" href="<%=basePath%>images\jquery.autocomplete.css">
     
      
      
<body bgcolor="white">

<form name=empexpense method=post action="/Genius/form/report/CallStatusReportDetail.jsp"><!-- CallStatusReport1.jsp"  > -->
    <table align=center border=1>
    <%
     boolean flag=false;
     int count=0;
     String emp_eid="",call_details="";
     String compalint_id="-",customer_name="-",area="-",cust_type="-",callentry_id="";
      %>
    <tr><td align=center   colspan=10><font size=4 color=Blue> SEARCH  </font> </td></tr>
    <tr><td align=right colspan=5 >CALL STATUS:&nbsp;&nbsp;&nbsp;</td>
   		<td align=left colspan=5>
   <select name=calltype >
   <option value="0$all">--ALL---</option>
    <%  
      try
        {
        
                 
     %>
         <option value="ASSIGNED"><font size=1 color="BLACK">ASSIGNED</font>
         <option value="CLOSED"><font size=1 color="BLACK">CLOSED</font>
         <option value="MTAKEN"><font size=1 color="BLACK">MATERIAL TAKEN</font>
         <option value="MGIVEN"><font size=1 color="BLACK">MATERIAL GIVEN</font>
         <option value="PFP"><font size=1 color="BLACK">PENDING FOR PARTS</font>
         </option>

    </select>
   </td>
   </tr>
   <br></br>
   
   <tr>
   <td align=left colspan=2 >FROM DATE:&nbsp;&nbsp;&nbsp;</td>
   <TD align=left colSpan=3>
     <input type="text" name="fdate"  id="fdate" readonly="readonly" value="<%=current_date%>"   >
     <img alt="click to select date" src="/Genius/images/calender.png"  style="cursor: hand; "   id="img3" onClick="setYears(2000, <%=current_year%>);showCalender(this, 'fdate');">	
   </TD>
   <td align=left colspan=2 >TO DATE:&nbsp;&nbsp;&nbsp;</td>
   <td align=left  colspan=3>
     <input type="text" name="tdate"  id="tdate" readonly="readonly" value="<%=current_date%>"   >
     <img alt="click to select date" src="/Genius/images/calender.png"  style="cursor: hand; "   id="img3" onClick="setYears(2000, <%=current_year%>);showCalender(this, 'tdate');">	
    </td>
    </tr>
    <tr><td align=right  colspan=5 ><input type=submit name=submit value="search"   >
 &nbsp;&nbsp;&nbsp;&nbsp;</td><td align=left  colspan=5><input type=reset name=reset value="Reset"> </td></tr>
    <input type=hidden name=status value=<%=status%>>
     </td>
     </tr> 
  </table>     
 </form>     
       
       
          
      

 
</tr>
</tr></td>   
<%
}
catch(Exception e1)
{e1.printStackTrace();}

 %></td></tr></table>

      </body>
	<script type="text/javascript">
	window.onload = function()
	{ new JsDatePick({useMode:2,target:"inputField",dateFormat:"%d-%M-%Y"
			/*selectedDate:{				This is an example of what the full configuration offers.
				day:5,						For full documentation about these settings please see the full version of the code.
				month:9,
				year:2006
			},
			yearsRange:[1978,2020],
			limitToToday:false,
			cellColorScheme:"beige",
			dateFormat:"%m-%d-%Y",
			imgPath:"img/",
			weekStartDay:1*/
		});
	};
	
</script>
   </html>